import request from "@/utils/request";

// 查询任务完成数
export function getDayAndMonProd() {
  return request({
    url: "/prodMange/home/getDayAndMonProd",
    method: "get",
  });
}
//获取看板列表
export function getprodplanlistBoard(query) {
  return request({
    url: "prodMange/home/getProdInAndOutPlan",
    method: "get",
    params: query,
  });
}
//获取agv小车状态总数
export function getAgvStatus() {
  return request({
    url: "/prodMange/home/getAgvStatus",
    method: "get",
  });
}
//获取密度统计
export function getInAndOutDayProd() {
  return request({
    url: "/prodMange/home/getInAndOutDayProd",
    method: "get",
  });
}
//获取AVG表格数据
export function getAgverror(query) {
  return request({
    url: "/prodMange/home/getAgverror",
    method: "get",
    params: query,
  });
}
//首页备料柱状图
export function getProdStatusIn(query) {
  return request({
    url: "/prodMange/home/getProdStatusIn",
    method: "get",
    params: query,
  });
}
//首页饼状图图
export function getProdWithLineORImgCode(query) {
  return request({
    url: "/prodMange/home/getProdWithLineORImgCode",
    method: "get",
    params: query,
  });
} //首页柱状图图
export function getImgCodeCountNum() {
  return request({
    url: "/prodMange/home/getImgCodeCountNum",
    method: "get",
  });
}
